object FrmOrcamentos: TFrmOrcamentos
  Left = 276
  Top = 106
  BorderIcons = [biSystemMenu]
  BorderStyle = bsSingle
  Caption = ' Or'#231'amento '
  ClientHeight = 552
  ClientWidth = 790
  Color = 15396334
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDefault
  WindowState = wsMaximized
  OnActivate = FormActivate
  OnClose = FormClose
  OnCreate = FormCreate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 13
  object pnlClient: TPanel
    Left = 0
    Top = 0
    Width = 790
    Height = 552
    Align = alClient
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clWhite
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    TabOrder = 0
    object Bevel1: TBevel
      Left = 2
      Top = 518
      Width = 786
      Height = 2
      Align = alBottom
      Shape = bsTopLine
    end
    object Label1: TcxLabel
      Left = 83
      Top = 52
      Caption = 'C'#243'digo'
      ParentFont = False
      Transparent = True
    end
    object Label3: TcxLabel
      Left = 326
      Top = 48
      Caption = 'Data'
      ParentFont = False
      Transparent = True
    end
    object BtnPessoa: TcxButton
      Left = 443
      Top = 72
      Width = 23
      Height = 22
      Cursor = crHandPoint
      TabOrder = 15
      OnClick = BtnPessoaClick
      Glyph.Data = {
        06030000424D06030000000000003600000028000000100000000F0000000100
        180000000000D0020000C30E0000C30E00000000000000000000BFBFBFBFBFBF
        0000000000000000000000000000000000000000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000000000000000BFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000FFFFFF000000BFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000FFFFFF000000BFBFBFBFBFBF00000000000000000000000000000000
        0000000000000000000000000000000000000000FFFFFF000000BFBFBFBFBFBF
        BFBFBF00000000FFFFFFFFFF00FFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000000000000000
        0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF000000FFFFFFFFFFFFFFFFFFFFFF
        FF000000000000000000BFBFBFBFBFBFBFBFBF00007FBFBFBFBFBFBFBFBFBFBF
        BFBF000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000BFBFBFBFBFBFBFBFBF
        00007F00007F00007FBFBFBFBFBFBFBFBFBF0000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBF00007F00007F00007F00007F00007FBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBF}
    end
    object BtnVendedor: TcxButton
      Left = 443
      Top = 97
      Width = 23
      Height = 22
      Cursor = crHandPoint
      TabOrder = 16
      OnClick = BtnVendedorClick
      Glyph.Data = {
        06030000424D06030000000000003600000028000000100000000F0000000100
        180000000000D0020000C30E0000C30E00000000000000000000BFBFBFBFBFBF
        0000000000000000000000000000000000000000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000000000000000BFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000FFFFFF000000BFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000FFFFFF000000BFBFBFBFBFBF00000000000000000000000000000000
        0000000000000000000000000000000000000000FFFFFF000000BFBFBFBFBFBF
        BFBFBF00000000FFFFFFFFFF00FFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000000000000000
        0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF000000FFFFFFFFFFFFFFFFFFFFFF
        FF000000000000000000BFBFBFBFBFBFBFBFBF00007FBFBFBFBFBFBFBFBFBFBF
        BFBF000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000BFBFBFBFBFBFBFBFBF
        00007F00007F00007FBFBFBFBFBFBFBFBFBF0000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBF00007F00007F00007F00007F00007FBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBF}
    end
    object BtnForma: TcxButton
      Left = 443
      Top = 122
      Width = 22
      Height = 22
      Cursor = crHandPoint
      TabOrder = 17
      OnClick = BtnFormaClick
      Glyph.Data = {
        06030000424D06030000000000003600000028000000100000000F0000000100
        180000000000D0020000C30E0000C30E00000000000000000000BFBFBFBFBFBF
        0000000000000000000000000000000000000000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000000000000000BFBFBFBFBFBF00000000FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF000000FFFFFF000000BFBFBFBFBFBF
        000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FF
        FF000000FFFFFF000000BFBFBFBFBFBF00000000000000000000000000000000
        0000000000000000000000000000000000000000FFFFFF000000BFBFBFBFBFBF
        BFBFBF00000000FFFFFFFFFF00FFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBFBFBFBF00000000000000000000
        0000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF000000FFFFFFFFFFFFFFFFFFFFFF
        FF000000000000000000BFBFBFBFBFBFBFBFBF00007FBFBFBFBFBFBFBFBFBFBF
        BFBF000000FFFFFFFFFFFFFFFFFFFFFFFF000000000000BFBFBFBFBFBFBFBFBF
        00007F00007F00007FBFBFBFBFBFBFBFBFBF0000000000000000000000000000
        00000000BFBFBFBFBFBFBFBFBF00007F00007F00007F00007F00007FBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBF}
    end
    object Label2: TcxLabel
      Left = 42
      Top = 75
      Caption = 'Cliente Prim'#225'rio'
      ParentFont = False
      Transparent = True
    end
    object Label5: TcxLabel
      Left = 70
      Top = 101
      Caption = 'Vendedor'
      ParentFont = False
      Transparent = True
    end
    object Label8: TcxLabel
      Left = 29
      Top = 124
      Caption = 'Forma Pagamento'
      ParentFont = False
      Transparent = True
    end
    object Label7: TcxLabel
      Left = 227
      Top = 151
      Caption = 'Obs'
      ParentFont = False
      Transparent = True
    end
    object Label4: TcxLabel
      Left = 78
      Top = 152
      Caption = 'Validade'
      ParentFont = False
      Transparent = True
    end
    object RxLabel16: TcxLabel
      Left = 10
      Top = 433
      Caption = '( F11 )'
      ParentFont = False
      Transparent = True
    end
    object RxLabel17: TcxLabel
      Left = 62
      Top = 433
      Caption = 'Altera Unit'#225'rio'
      ParentFont = False
      Transparent = True
    end
    object pnlBottom: TPanel
      Left = 2
      Top = 520
      Width = 786
      Height = 30
      Align = alBottom
      BevelOuter = bvNone
      TabOrder = 10
      object dxBarDockControl1: TdxBarDockControl
        Left = 0
        Top = 2
        Width = 786
        Height = 26
        Align = dalTop
        BarManager = BarMgr
      end
      object Panel1: TPanel
        Left = 0
        Top = 0
        Width = 786
        Height = 2
        Align = alTop
        BevelOuter = bvNone
        TabOrder = 1
      end
    end
    object EdDocumento: TdxDBEdit
      Left = 123
      Top = 46
      Width = 94
      Enabled = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      Style.HotTrack = True
      TabOrder = 0
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'CODIGO'
      DataSource = DataSource
      ReadOnly = False
      StoredValues = 64
    end
    object EdDataNota: TdxDBDateEdit
      Left = 356
      Top = 45
      Width = 87
      Enabled = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      Style.ButtonTransparence = ebtNone
      Style.HotTrack = True
      TabOrder = 1
      OnKeyDown = dxDBEdit1KeyDown
      Alignment = taLeftJustify
      DataField = 'DATA'
      DataSource = DataSource
      ReadOnly = False
      DateOnError = deToday
      DateValidation = True
      SaveTime = False
      UseEditMask = True
      StoredValues = 69
    end
    object CmbFormaPgto: TdxDBLookupEdit
      Left = 123
      Top = 121
      Width = 320
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      Style.Edges = [edgLeft, edgTop, edgRight, edgBottom]
      Style.HotTrack = True
      Style.Shadow = False
      TabOrder = 6
      OnEnter = EdPessoaEnter
      OnExit = CmbFormaPgtoExit
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'FORMA_PGTO'
      DataSource = DataSource
      ReadOnly = False
      DropDownWidth = 294
      ClearKey = 46
      ListFieldName = 'NOME'
      Revertable = True
      KeyFieldName = 'CODIGO'
      ListSource = DsFormaPgto
      LookupKeyValue = Null
      StoredValues = 64
    end
    object cmbvendedor: TdxDBLookupEdit
      Left = 176
      Top = 96
      Width = 267
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      Style.Edges = [edgLeft, edgTop, edgRight, edgBottom]
      Style.HotTrack = True
      Style.Shadow = False
      TabOrder = 5
      OnEnter = EdPessoaEnter
      OnExit = cmbvendedorExit
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'VENDEDOR'
      DataSource = DataSource
      ReadOnly = False
      DropDownWidth = 294
      ClearKey = 46
      ListFieldName = 'NOME'
      Revertable = True
      KeyFieldName = 'CODIGO'
      ListSource = DsVendedores
      LookupKeyValue = Null
      StoredValues = 64
    end
    object dxDBEdit3: TdxDBEdit
      Left = 176
      Top = 69
      Width = 267
      Enabled = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      TabOrder = 3
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'Nome'
      DataSource = DataSource
    end
    object EdPessoa: TdxDBEdit
      Left = 123
      Top = 69
      Width = 54
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      TabOrder = 2
      OnEnter = EdPessoaEnter
      OnExit = EdPessoaExit
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'PESSOA_FJ'
      DataSource = DataSource
    end
    object EdVendedor: TdxDBEdit
      Left = 123
      Top = 96
      Width = 54
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      TabOrder = 4
      OnEnter = EdVendedorEnter
      OnExit = EdVendedorExit
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'VENDEDOR'
      DataSource = DataSource
    end
    object dxDBEdit2: TdxDBEdit
      Left = 248
      Top = 146
      Width = 529
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      TabOrder = 8
      OnEnter = EdPessoaEnter
      OnExit = dxDBEdit2Exit
      OnKeyDown = dxDBEdit1KeyDown
      OnKeyPress = dxDBEdit2KeyPress
      DataField = 'OBSERVACAO'
      DataSource = DataSource
    end
    object GridItens: TdxDBGrid
      Left = 8
      Top = 176
      Width = 769
      Height = 249
      Bands = <
        item
        end>
      DefaultLayout = True
      HeaderPanelRowCount = 1
      KeyField = 'PRODUTO'
      SummaryGroups = <>
      SummarySeparator = ', '
      TabOrder = 9
      OnEnter = GridItensEnter
      OnKeyDown = GridItensKeyDown
      DataSource = DsItens
      Filter.Criteria = {00000000}
      LookAndFeel = lfFlat
      OptionsCustomize = [edgoColumnMoving, edgoColumnSizing]
      OptionsDB = [edgoCancelOnExit, edgoCanNavigation, edgoUseBookmarks]
      OptionsView = [edgoBandHeaderWidth, edgoRowSelect, edgoUseBitmap]
      object GridItensPRODUTO: TdxDBGridMaskColumn
        Width = 100
        BandIndex = 0
        RowIndex = 0
        FieldName = 'PRODUTO'
      end
      object GridItensNome_Produto: TdxDBGridLookupColumn
        TabStop = False
        Width = 241
        BandIndex = 0
        RowIndex = 0
        FieldName = 'Nome_Produto'
      end
      object GridItensCOMPLEMENTO: TdxDBGridMaskColumn
        Width = 248
        BandIndex = 0
        RowIndex = 0
        FieldName = 'COMPLEMENTO'
      end
      object GridItensGRADE: TdxDBGridMaskColumn
        Width = 35
        BandIndex = 0
        RowIndex = 0
        FieldName = 'GRADE'
      end
      object GridItensNUMERO: TdxDBGridMaskColumn
        Width = 43
        BandIndex = 0
        RowIndex = 0
        FieldName = 'NUMERO'
      end
      object GridItensQUANTIDADE: TdxDBGridMaskColumn
        Caption = 'Qtde'
        Width = 70
        BandIndex = 0
        RowIndex = 0
        FieldName = 'QUANTIDADE'
      end
      object GridItensPRC_UNITARIO: TdxDBGridMaskColumn
        Width = 75
        BandIndex = 0
        RowIndex = 0
        FieldName = 'PRC_UNITARIO'
      end
      object GridItensTotal: TdxDBGridColumn
        Width = 75
        BandIndex = 0
        RowIndex = 0
        FieldName = 'Total'
      end
      object GridItensQTDE_FATURADA: TdxDBGridMaskColumn
        Caption = 'Qtde. Fat.'
        BandIndex = 0
        RowIndex = 0
        FieldName = 'QTDE_FATURADA'
      end
      object GridItensSaldo: TdxDBGridColumn
        BandIndex = 0
        RowIndex = 0
        OnCustomDrawCell = GridItensSaldoCustomDrawCell
        FieldName = 'Saldo'
      end
    end
    object Panel3: TPanel
      Left = 440
      Top = 460
      Width = 346
      Height = 57
      BevelInner = bvRaised
      BevelOuter = bvLowered
      TabOrder = 11
      object Label25: TcxLabel
        Left = 148
        Top = 8
        Caption = 'Total Lan'#231'ado'
        ParentFont = False
        Transparent = True
      end
      object Label27: TcxLabel
        Left = 308
        Top = 8
        Caption = 'Total'
        ParentFont = False
        Transparent = True
      end
      object Label6: TcxLabel
        Left = 54
        Top = 8
        Caption = 'Desc/Acr'#233's'
        ParentFont = False
        Transparent = True
      end
      object dxDBEdit5: TdxDBEdit
        Left = 125
        Top = 22
        Width = 104
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        Style.BorderColor = clBtnShadow
        Style.BorderStyle = xbsSingle
        Style.ButtonStyle = btsSimple
        TabOrder = 0
        TabStop = False
        DataField = 'TOTAL'
        DataSource = DataSource
        ReadOnly = True
        StoredValues = 64
      end
      object dxDBEdit8: TdxDBEdit
        Left = 234
        Top = 22
        Width = 104
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        Style.BorderColor = clBtnShadow
        Style.BorderStyle = xbsSingle
        Style.ButtonStyle = btsSimple
        TabOrder = 1
        TabStop = False
        DataField = 'Geral'
        DataSource = DataSource
        ReadOnly = True
        StoredValues = 64
      end
      object EdMargem: TdxDBCalcEdit
        Left = 11
        Top = 22
        Width = 109
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -13
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        Style.BorderColor = clBtnShadow
        Style.BorderStyle = xbsSingle
        Style.ButtonStyle = btsSimple
        TabOrder = 2
        OnEnter = EdMargemEnter
        OnExit = EdMargemExit
        OnKeyDown = dxDBEdit1KeyDown
        DataField = 'DESC_ACRESC'
        DataSource = DataSource
        ButtonGlyph.Data = {
          46020000424D460200000000000036000000280000000E0000000C0000000100
          1800000000001002000000000000000000000000000000000000CED3D6000000
          0000000000000000000000000000000000000000000000000000000000000000
          00CED3D600008486008486008400008400008400008400008400008400008400
          008400008400008400008400000000000000848600FFFFFF8486008486008486
          0084860084860084860084860084860084860084860084000000000000008486
          00FFFF00848600000000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFF00
          00008400000000000000848600FFFFFF84860084860084860084860084860084
          86008486008486008486008486008400000000000000848600FFFF0084860000
          0000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFF000000840000000000
          0000848600FFFFFF848600848600848600848600848600848600848600848600
          8486008486008400000000000000848600FFFF00000000C6C7C6C6C7C6C6C7C6
          C6C7C6C6C7C6C6C7C6C6C7C68486008486008400000000000000848600FFFFFF
          000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC6C7C68486008486008400
          000000000000848600FFFF000000000000000000000000000000000000000000
          000000008486008486008400000000000000848600FFFFFFFFFF00FFFFFFFFFF
          00FFFFFFFFFF00FFFFFFFFFF00FFFFFFFFFF00FFFFFF8486000000000000CED3
          D684860084860084860084860084860084860084860084860084860084860084
          8600848600CED3D60000}
        PopupBorder = pbFrame3D
      end
    end
    object Panel2: TPanel
      Left = 2
      Top = 2
      Width = 786
      Height = 37
      Align = alTop
      BiDiMode = bdRightToLeft
      Color = clMenu
      ParentBiDiMode = False
      TabOrder = 12
      object LblTitulo: TcxLabel
        Left = 1
        Top = 1
        Align = alTop
        Caption = 'Or'#231'amento'
        ParentColor = False
        ParentFont = False
        Transparent = True
      end
    end
    object EdValidade: TdxDBDateEdit
      Left = 123
      Top = 146
      Width = 88
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Tahoma'
      Font.Style = []
      ParentFont = False
      Style.BorderColor = clBtnShadow
      Style.BorderStyle = xbsSingle
      Style.ButtonStyle = btsSimple
      TabOrder = 7
      OnEnter = EdPessoaEnter
      OnExit = dxDBEdit2Exit
      OnKeyDown = dxDBEdit1KeyDown
      DataField = 'VALIDADE'
      DataSource = DataSource
      DateValidation = True
      UseEditMask = True
      StoredValues = 4
    end
    object cxDBCheckBox2: TcxDBCheckBox
      Left = 472
      Top = 128
      Caption = 'Compromete estoque'
      DataBinding.DataField = 'COMPROMETER_ESTOQUE'
      DataBinding.DataSource = DataSource
      Properties.NullStyle = nssUnchecked
      Properties.ValueChecked = 'S'
      Properties.ValueUnchecked = 'N'
      TabOrder = 25
      Width = 145
    end
  end
  object Navigator: TdxBarDBNavigator
    BarManager = BarMgr
    CategoryName = 'DB Navigator'
    ConfirmDelete = False
    DataSource = DataSource
    DBCheckLinks = <>
    VisibleButtons = [dxbnFirst, dxbnPrior, dxbnNext, dxbnLast]
    Left = 389
    Top = 215
  end
  object BarMgr: TdxBarManager
    AllowReset = False
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = 'Segoe UI'
    Font.Style = []
    CanCustomize = False
    Categories.Strings = (
      'Default'
      'DB Navigator')
    Categories.ItemsVisibles = (
      2
      2)
    Categories.Visibles = (
      True
      True)
    PopupMenuLinks = <>
    Style = bmsFlat
    UseSystemFont = True
    Left = 301
    Top = 352
    DockControlHeights = (
      0
      0
      0
      0)
    object BarMgrBar1: TdxBar
      AllowClose = False
      AllowCustomizing = False
      AllowQuickCustomizing = False
      AllowReset = False
      Caption = 'Navega'#231#227'o'
      CaptionButtons = <>
      DockControl = dxBarDockControl1
      DockedDockControl = dxBarDockControl1
      DockedLeft = 0
      DockedTop = 0
      FloatLeft = 290
      FloatTop = 163
      FloatClientWidth = 23
      FloatClientHeight = 198
      ItemLinks = <
        item
          Visible = True
          ItemName = 'dxBarBDBNavFirst'
        end
        item
          Visible = True
          ItemName = 'dxBarBDBNavPrev'
        end
        item
          Visible = True
          ItemName = 'dxBarBDBNavNext'
        end
        item
          Visible = True
          ItemName = 'dxBarBDBNavLast'
        end
        item
          Visible = True
          ItemName = 'btnIncluir'
        end
        item
          Visible = True
          ItemName = 'btnAlterar'
        end
        item
          Visible = True
          ItemName = 'btnExcluir'
        end
        item
          Visible = True
          ItemName = 'BtnSalvar'
        end
        item
          Visible = True
          ItemName = 'BtnCancelar'
        end
        item
          Visible = True
          ItemName = 'dxBarButton1'
        end
        item
          Visible = True
          ItemName = 'BtnFechar'
        end>
      OldName = 'Navega'#231#227'o'
      OneOnRow = True
      Row = 0
      ShowMark = False
      SizeGrip = False
      UseOwnFont = False
      UseRestSpace = True
      Visible = True
      WholeRow = False
    end
    object btnIncluir: TdxBarButton
      Action = ActIncluir
      Category = 0
      Glyph.Data = {
        EE000000424DEE000000000000007600000028000000100000000F0000000100
        04000000000078000000130B0000130B00001000000000000000000000000000
        8000008000000080800080000000800080008080000080808000C0C0C0000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
        888888800000000000888880FFFFFFFFF0888880FFFFFFFFF0888880FFFFFFFF
        F0888880FFFFFFFFF0888880FFFFFFFFF0888880FFFFFFFFF0888880FFFFFFFF
        F0888880FFFFFFFFF0888880FFFFFF0000888880FFFFFF0F08888880FFFFFF00
        888888800000000888888888888888888888}
    end
    object btnExcluir: TdxBarButton
      Action = ActExcluir
      Category = 0
      Glyph.Data = {
        36030000424D360300000000000036000000280000000F000000100000000100
        1800000000000003000000000000000000000000000000000000008080008080
        0080800000000000000000000000000000000000000000000000000000000080
        80008080008080000000008080008080008080000000FFFFFF7F7F7F7F7F7F7F
        7F7F7F7F7F7F7F7F7F7F7F000000008080008080008080000000008080008080
        008080000000FFFFFF000000BFBFBF000000BFBFBF0000007F7F7F0000000080
        80008080008080000000008080008080008080000000FFFFFF000000BFBFBF00
        00007F7F7F0000007F7F7F000000008080008080008080000000008080008080
        008080000000FFFFFF000000BFBFBF000000BFBFBF0000007F7F7F0000000080
        80008080008080000000008080008080008080000000FFFFFF000000BFBFBF00
        00007F7F7F0000007F7F7F000000008080008080008080000000008080008080
        008080000000FFFFFF000000BFBFBF000000BFBFBF0000007F7F7F0000000080
        80008080008080000000008080000000008080000000FFFFFF000000BFBFBF00
        00007F7F7F0000007F7F7F000000008080000000008080000000008080008080
        000000000000FFFFFF000000BFBFBF000000BFBFBF0000007F7F7F0000000000
        00008080008080000000008080008080008080000000FFFFFF000000BFBFBF00
        00007F7F7F0000007F7F7F000000008080008080008080000000008080008080
        0080800000007F7F7F0000007F7F7F0000007F7F7F0000007F7F7F0000000080
        8000808000808000000000808000808000000000000000000000000000000000
        0000000000000000000000000000000000008080008080000000008080008080
        000000FFFFFFBFBFBFBFBFBFBFBFBF7F7F7F7F7F7F7F7F7F7F7F7F7F7F7F0000
        0000808000808000000000808000808000000000000000000000000000000000
        0000000000000000000000000000000000008080008080000000008080008080
        0080800080800080800000007F7F7F7F7F7F7F7F7F0000000080800080800080
        8000808000808000000000808000808000808000808000808000000000000000
        0000000000000000008080008080008080008080008080000000}
    end
    object BtnSalvar: TdxBarButton
      Action = ActPost
      Category = 0
      Enabled = False
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF00000000000000000000000000000000
        0000000000000000000000000000000000000000000000BFBFBFBFBFBF000000
        007F7F007F7F000000000000000000000000000000000000BFBFBFBFBFBF0000
        00007F7F000000BFBFBFBFBFBF000000007F7F007F7F00000000000000000000
        0000000000000000BFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBF000000
        007F7F007F7F000000000000000000000000000000000000BFBFBFBFBFBF0000
        00007F7F000000BFBFBFBFBFBF000000007F7F007F7F00000000000000000000
        0000000000000000000000000000000000007F7F000000BFBFBFBFBFBF000000
        007F7F007F7F007F7F007F7F007F7F007F7F007F7F007F7F007F7F007F7F007F
        7F007F7F000000BFBFBFBFBFBF000000007F7F007F7F00000000000000000000
        0000000000000000000000000000007F7F007F7F000000BFBFBFBFBFBF000000
        007F7F000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000
        00007F7F000000BFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBF000000
        007F7F000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000
        00007F7F000000BFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBF000000
        007F7F000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000
        00000000000000BFBFBFBFBFBF000000007F7F000000BFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBF000000BFBFBF000000BFBFBFBFBFBF000000
        0000000000000000000000000000000000000000000000000000000000000000
        00000000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF}
    end
    object BtnCancelar: TdxBarButton
      Action = ActCancel
      Category = 0
      Enabled = False
      Glyph.Data = {
        76030000424D7603000000000000360000002800000011000000100000000100
        1800000000004003000000000000000000000000000000000000008080008080
        0080800080800080800080800080800080800080800080800080800080800080
        8000808000808000808000808000008080008080008080008080008080008080
        0080800080800080800080800080800080800080800080800080800080800080
        80000080800080800000FF0000FF0000FF0080800080807F7F7F0000007F7F7F
        0080800080800000FF0000FF0000FF0080800080800000808000808000808000
        00FF0000FF0000FF0080800000000000000000000080800000FF0000FF0000FF
        008080008080008080000080800080800080800080800000FF0000FF0000FF7F
        7F7F0000007F7F7F0000FF0000FF0000FF008080008080008080008080000080
        800080800080800080800080800000FF0000FF0000FF0080800000FF0000FF00
        00FF008080008080008080008080008080000080800080800080800080800080
        800080800000FF0000FF0000000000FF0000FF00808000808000808000808000
        8080008080000080800080800080800080800080800080800080800000800000
        0000008000808000808000808000808000808000808000808000008080008080
        0080800080800080800080800000FF0000800000000000800000FF0080800080
        80008080008080008080008080000080800080800080800080800080800000FF
        0000FF0000000000000000000000FF0000FF0080800080800080800080800080
        80000080800080800080800080800000FF0000FF0000FF000000000000000000
        0000FF0000FF0000FF0080800080800080800080800000808000808000808000
        00FF0000FF0000FF0080800000000000000000000080800000FF0000FF0000FF
        008080008080008080000080800080800000FF0000FF0000FF0080800080807F
        7F7F0000007F7F7F0080800080800000FF0000FF0000FF008080008080000080
        8000808000808000808000808000808000808000808000808000808000808000
        8080008080008080008080008080008080000080800080800080800080800080
        8000808000808000808000808000808000808000808000808000808000808000
        8080008080000080800080800080800080800080800080800080800080800080
        8000808000808000808000808000808000808000808000808000}
    end
    object BtnFechar: TdxBarButton
      Action = ActFechar
      Align = iaRight
      Category = 0
      Glyph.Data = {
        36030000424D360300000000000036000000280000000F000000100000000100
        1800000000000003000000000000000000000000000000000000008080008080
        0000000000000000000000000000000000000000000000000000000000000000
        0000808000808000000000808000808000000000008000FFFF00FFFF00FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000008000008000008000FFFF00
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000008000000000FFFF00FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000008000008000008000000000
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000008000000000FFFF00FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000008000008000008000000000
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000008000000000FFFF00FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000008000008000008000000000
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000008000FFFF00000000FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000008000008000008000000000
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        00000000008000008000008000000000FFFF00FFFF00FFFF00FFFF00FFFF0000
        00008080008080000000008080008080000000000080FFFF0000008000000000
        FFFF00FFFF00FFFF00FFFF00FFFF000000008080008080000000008080008080
        000000000080FFFF00FFFF0000000000FFFF00FFFF00FFFF00FFFF00FFFF0000
        0000808000808000000000808000808000000000000000000000000000000000
        0000000000000000000000000000000000008080008080000000}
      PaintStyle = psCaptionGlyph
    end
    object btnAlterar: TdxBarButton
      Action = ActAlterar
      Category = 0
      Glyph.Data = {
        36030000424D3603000000000000360000002800000010000000100000000100
        1800000000000003000000000000000000000000000000000000008080008080
        0080800080800080800080800000000000000000000000000000000000000000
        00000000000000000000008080008080008080008080008080008080000000FF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000
        008080000000000000000000000000000000FFFFFFFFFFFF000000FFFFFF0000
        00000000FFFFFF000000FFFF0000000000000000FFFFFFFFFF00FFFFFFFFFF00
        FFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFF00000000
        00FFFFFFFFFF00FFFFFFFFFF000000000000000000FFFFFFFFFFFFFFFFFFFFFF
        FF000000FFFFFF000000FFFF00000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF000000FFFFFF000000000000FFFFFFFFFFFF000000FFFF00000000
        00FFFFFFFFFF00FFFFFFFFFF00000000000000000000000000000000FFFF0000
        00FFFFFFFFFFFF000000FFFF00000000FFFFFF00FFFFFFFFFF00FFFFFFFFFF00
        FFFFFFFFFF00FFFFFFFFFF000000FFFFFFFFFFFFFFFFFF000000FFFF00000000
        00FFFFFFFFFF000000000000000000000000000000000000000000FFFFFFFFFF
        FFFFFFFFFFFFFF00000000000000000000000000FFFFFFFFFF00FFFF00000000
        000000FFFF000000FFFFFFFFFFFF000000000000FFFFFF000000008080008080
        00808000000000000000000000000000FFFF000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFF00000000808000808000808000808000808000000000FFFF00
        0000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000008080008080
        00808000808000000000FFFF000000FFFFFFFFFFFF000000000000FFFFFF0000
        00FFFFFFFFFFFF00000000808000808000808000000000FFFF000000000000FF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFF000000008080008080008080
        0000000000FF000000008080000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000
        0000000000808000808000808000808000808000000000808000808000000000
        0000000000000000000000000000000000008080008080008080}
    end
    object dxBarButton1: TdxBarButton
      Action = ActListagem
      Caption = 'Imprimir Or'#231'amento ( F5 )'
      Category = 0
      Glyph.Data = {
        EE030000424DEE03000000000000360000002800000012000000110000000100
        180000000000B8030000C30E0000C30E00000000000000000000BFBFBF000000
        000000000000BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBF000000000000000000BFBFBF00000000000000000000000000000000
        0000000000000000000000000000000000000000000000000000000000000000
        00000000000000000000000000FFFFFFC0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
        C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0000000
        0000000000FFFFFFC0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
        C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C00000000000000000FFFFFF
        C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0
        C00000FF0000FFC0C0C0C0C0C00000000000000000FFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFF000000000080808000000000000080808080808080808080808080
        8080808080808080808080808080808080808080808080000000000000808080
        0000BFBFBFBFBFBF000000000000000000000000000000000000000000000000
        000000000000000000000000000000000000BFBFBFBFBFBF0000BFBFBFBFBFBF
        000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFF000000000000BFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBF000000FFFF
        FF000000000000000000000000000000000000000000000000FFFFFF000000BF
        BFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBF000000FFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBF
        0000BFBFBFBFBFBFBFBFBF000000FFFFFF000000000000000000000000000000
        000000000000000000FFFFFF000000BFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBF
        BFBFBF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFF000000BFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBF000000FFFF
        FF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BF
        BFBFBFBFBFBFBFBF0000BFBFBFBFBFBFBFBFBF000000FFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000BFBFBFBFBFBFBFBFBF
        0000BFBFBFBFBFBFBFBFBF000000000000000000000000000000000000000000
        000000000000000000000000000000BFBFBFBFBFBFBFBFBF0000BFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF
        BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBF0000}
      PaintStyle = psCaptionGlyph
    end
    object dxBarBDBNavFirst: TdxBarDBNavButton
      Caption = 'ActInicio'
      Category = 1
      Enabled = False
      Hint = 'Ir ao primeiro registro'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777777777777777777777777777777777777777777777777777777777777777
        7777777087777778077777708777780007777770877800000777777088000000
        0777777087780000077777708777780007777770877777780777777777777777
        7777777777777777777777777777777777777777777777777777}
      NavButton = dxbnFirst
    end
    object dxBarBDBNavPrev: TdxBarDBNavButton
      Caption = 'ActPrior'
      Category = 1
      Enabled = False
      Hint = 'Ir ao registro anterior'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777777777777777777777777777777777777777777777777777777777777777
        7777777777777780777777777777800077777777778000007777777780000000
        7777777777800000777777777777800077777777777777807777777777777777
        7777777777777777777777777777777777777777777777777777}
      NavButton = dxbnPrior
    end
    object dxBarBDBNavNext: TdxBarDBNavButton
      Caption = 'ActNext'
      Category = 1
      Enabled = False
      Hint = 'Ir ao pr'#243'ximo registro'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777777777777777777777777777777777777777777777777777777777777777
        7777777708777777777777770008777777777777000008777777777700000008
        7777777700000877777777770008777777777777087777777777777777777777
        7777777777777777777777777777777777777777777777777777}
      NavButton = dxbnNext
    end
    object dxBarBDBNavLast: TdxBarDBNavButton
      Caption = 'ActLast'
      Category = 1
      Enabled = False
      Hint = 'Ir ao '#250'ltimo registro'
      Visible = ivAlways
      Glyph.Data = {
        F6000000424DF600000000000000760000002800000010000000100000000100
        0400000000008000000000000000000000001000000000000000000000000000
        80000080000000808000800000008000800080800000C0C0C000808080000000
        FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00777777777777
        7777777777777777777777777777777777777777777777777777777777777777
        7777777087777778077777700087777807777770000087780777777000000088
        0777777000008778077777700087777807777770877777780777777777777777
        7777777777777777777777777777777777777777777777777777}
      NavButton = dxbnLast
    end
  end
  object Actions: TActionList
    Left = 385
    Top = 288
    object ActIncluir: TAction
      Tag = 1
      Caption = 'ActIncluir'
      Hint = 'Incluir um novo registro [Ins]'
      ShortCut = 45
      OnExecute = ActIncluirExecute
    end
    object ActAlterar: TAction
      Tag = 1
      Caption = 'ActAlterar'
      Hint = 'Incluir o registro selecionado [Enter]'
      ShortCut = 117
      OnExecute = ActAlterarExecute
    end
    object ActExcluir: TAction
      Tag = 1
      Caption = 'ActExcluir'
      Hint = 'Excluir o registro selecionado [Shift+Del]'
      ShortCut = 46
      OnExecute = ActExcluirExecute
    end
    object ActLocalizar: TAction
      Caption = 'ActLocalizar'
      Hint = 'Localizar registros [F3]'
      ShortCut = 114
    end
    object ActListagem: TAction
      Tag = 1
      Caption = 'ActListagem'
      Hint = 'Emitir listagem de '
      ShortCut = 116
      OnExecute = ActListagemExecute
    end
    object ActPost: TAction
      Caption = 'ActPost'
      Hint = 'Salvar informa'#231#245'es'
      ShortCut = 121
      OnExecute = ActPostExecute
    end
    object ActCancel: TAction
      Caption = 'ActCancel'
      Hint = 'Cancelar informa'#231#245'es'
      ShortCut = 27
      OnExecute = ActCancelExecute
    end
    object ActFechar: TAction
      Caption = '&Fechar  '
      OnExecute = ActFecharExecute
    end
    object actLookup: TAction
      Caption = 'actLookup'
      ShortCut = 115
      OnExecute = actLookupExecute
    end
    object ActNextPage: TAction
      Caption = 'ActNextPage'
      ShortCut = 34
    end
    object ActPreviousPage: TAction
      Caption = 'ActPreviousPage'
      ShortCut = 33
    end
    object ActEnviaCaixa: TAction
      Caption = 'Enviar para o Caixa'
      ShortCut = 120
    end
    object ActLocalizarCliente: TAction
      Caption = 'ActLocalizarCliente'
      ShortCut = 16424
      OnExecute = ActLocalizarClienteExecute
    end
    object ActLocalizarVendedores: TAction
      Caption = 'Localizar Vendedor'
      OnExecute = ActLocalizarVendedoresExecute
    end
    object ActAlteraUnitario: TAction
      Caption = 'Altera Unit'#225'rio'
      ShortCut = 122
      OnExecute = ActAlteraUnitarioExecute
    end
  end
  object dsParametros: TDataSource
    AutoEdit = False
    DataSet = DmVendas.Parametros
    Left = 187
    Top = 223
  end
  object dsPessoasFJ: TDataSource
    AutoEdit = False
    DataSet = DmVendas.SelPessoasFJ
    Left = 74
    Top = 215
  end
  object DataSource: TDataSource
    DataSet = Orcamentos
    OnStateChange = DataSourceStateChange
    OnUpdateData = DataSourceUpdateData
    Left = 507
    Top = 7
  end
  object DsVendedores: TDataSource
    AutoEdit = False
    DataSet = DmVendas.SelVendedor
    Left = 74
    Top = 350
  end
  object DsFormaPgto: TDataSource
    AutoEdit = False
    DataSet = DmVendas.SelFormaPgto
    Left = 298
    Top = 222
  end
  object DsItens: TDataSource
    AutoEdit = False
    DataSet = Orcamentos_Itens
    Left = 568
    Top = 10
  end
  object DsUnidades: TDataSource
    AutoEdit = False
    DataSet = DmVendas.SelUnidade
    Left = 202
    Top = 278
  end
  object DsAgrupador: TDataSource
    AutoEdit = False
    DataSet = DmVendas.SelMascara_Nome
    Left = 200
    Top = 386
  end
  object stgSelFrmOrcamentos: TcxPropertiesStore
    Components = <
      item
        Component = GridItens
        Properties.Strings = (
          'Align'
          'Anchors'
          'ArrowsColor'
          'AutoExpandOnSearch'
          'AutoSearchColor'
          'AutoSearchTextColor'
          'BandColor'
          'BandFont'
          'BandMaxRowCount'
          'BandRowCount'
          'Bands'
          'BorderStyle'
          'Color'
          'Constraints'
          'Ctl3D'
          'Cursor'
          'CustomizingRowCount'
          'DataSource'
          'DblClkExpanding'
          'DefaultFields'
          'DefaultLayout'
          'DefaultRowHeight'
          'DragCursor'
          'DragMode'
          'Enabled'
          'Filter'
          'FixedBandLineColor'
          'FixedBandLineWidth'
          'Font'
          'GridLineColor'
          'GrIndicatorWidth'
          'GroupNodeColor'
          'GroupNodeTextColor'
          'GroupPanelColor'
          'GroupPanelFontColor'
          'HeaderColor'
          'HeaderFont'
          'HeaderMinRowCount'
          'HeaderPanelMaxRowCount'
          'HeaderPanelRowCount'
          'Height'
          'HelpContext'
          'HideFocusRect'
          'HideSelection'
          'HideSelectionColor'
          'HideSelectionTextColor'
          'HighlightColor'
          'HighlightTextColor'
          'Hint'
          'IndentDesc'
          'IniFileName'
          'IniSectionName'
          'KeyField'
          'Left'
          'LookAndFeel'
          'MaxRowLineCount'
          'Name'
          'Options'
          'OptionsBehavior'
          'OptionsCustomize'
          'OptionsDB'
          'OptionsEx'
          'OptionsView'
          'ParentColor'
          'ParentCtl3D'
          'ParentFont'
          'ParentShowHint'
          'PartialLoad'
          'PartialLoadBufferCount'
          'PopupMenu'
          'PreviewFieldName'
          'PreviewFont'
          'PreviewLines'
          'PreviewMaxLength'
          'RegistryPath'
          'RowFooterColor'
          'RowFooterTextColor'
          'RowSeparatorLineWidth'
          'ScrollBars'
          'ShowBands'
          'ShowGrid'
          'ShowGroupPanel'
          'ShowHeader'
          'ShowHiddenInCustomizeBox'
          'ShowHint'
          'ShowNewItemRow'
          'ShowPreviewGrid'
          'ShowRowFooter'
          'ShowSummaryFooter'
          'SimpleCustomizeBox'
          'SummaryGroups'
          'SummarySeparator'
          'TabOrder'
          'TabStop'
          'Tag'
          'Top'
          'UseBookmarks'
          'Visible'
          'WaitForExpandNodeTime'
          'Width')
      end
      item
        Component = GridItensCOMPLEMENTO
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensGRADE
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensNome_Produto
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensNUMERO
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensPRC_UNITARIO
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensPRODUTO
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensQTDE_FATURADA
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensQUANTIDADE
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'EditMask'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'IgnoreMaskBlank'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensSaldo
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end
      item
        Component = GridItensTotal
        Properties.Strings = (
          'Alignment'
          'BandIndex'
          'Caption'
          'CharCase'
          'ColIndex'
          'Color'
          'DisableCaption'
          'DisableCustomizing'
          'DisableDragging'
          'DisableEditor'
          'DisableFilter'
          'DisableGrouping'
          'FieldName'
          'Font'
          'GroupIndex'
          'HeaderAlignment'
          'HeaderGlyph'
          'HeaderMaxLineCount'
          'MaxLength'
          'MinWidth'
          'Name'
          'OEMConvert'
          'PasswordChar'
          'ReadOnly'
          'RowIndex'
          'Sizing'
          'SortBySummary'
          'Sorted'
          'SummaryField'
          'SummaryFooterField'
          'SummaryFooterFormat'
          'SummaryFooterType'
          'SummaryFormat'
          'SummaryGroupName'
          'SummaryType'
          'TabStop'
          'Tag'
          'VertAlignment'
          'Visible'
          'Width')
      end>
    StorageName = 'stgSelFrmOrcamentos'
    Left = 425
    Top = 216
  end
  object Orcamentos_Itens: TIBDataSet
    Database = DmApp.Database
    Transaction = DmApp.Transaction
    BeforeInsert = Orcamentos_ItensBeforeInsert
    OnCalcFields = Orcamentos_ItensCalcFields
    OnNewRecord = Orcamentos_ItensNewRecord
    DeleteSQL.Strings = (
      'delete from FAT_ORCAMENTOS_ITENS'
      'where'
      '  CNPJ = :OLD_CNPJ and'
      '  CODIGO = :OLD_CODIGO and'
      '  PRODUTO = :OLD_PRODUTO and'
      '  SEQUENCIA = :OLD_SEQUENCIA')
    InsertSQL.Strings = (
      'insert into FAT_ORCAMENTOS_ITENS'
      
        '  (CNPJ, CODIGO, DESCONTO, ICM, ICM_SUBS, IPI, NOME_PRODUTO, PES' +
        'O, '
      'PORC_DESC, '
      '   PRC_CUSTO, PRC_UNIT_ORIGINAL, PRC_UNITARIO, PRODUTO, '
      'QUANTIDADE, SEQUENCIA, '
      '   UNIDADE, VOLUME, SUBUNIDADE, MARCA, PRC_UNITARIO_2, MARCA_2, '
      'EXTERNO, '
      '   NOME_MASCARA, GRUPO_MASCARA, SUB_GRUPO_MASCARA, MASCARA, '
      'COMPLEMENTO, '
      '   GRADE, NUMERO)'
      'values'
      
        '  (:CNPJ, :CODIGO, :DESCONTO, :ICM, :ICM_SUBS, :IPI, :NOME_PRODU' +
        'TO, '
      ':PESO, '
      '   :PORC_DESC, :PRC_CUSTO, :PRC_UNIT_ORIGINAL, :PRC_UNITARIO, '
      ':PRODUTO, '
      
        '   :QUANTIDADE, :SEQUENCIA, :UNIDADE, :VOLUME, :SUBUNIDADE, :MAR' +
        'CA, '
      ':PRC_UNITARIO_2, '
      '   :MARCA_2, :EXTERNO, :NOME_MASCARA, :GRUPO_MASCARA, '
      ':SUB_GRUPO_MASCARA, '
      '   :MASCARA, :COMPLEMENTO, :GRADE, :NUMERO)')
    RefreshSQL.Strings = (
      'Select '
      '  CNPJ,'
      '  CODIGO,'
      '  PRODUTO,'
      '  SEQUENCIA,'
      '  QUANTIDADE,'
      '  PRC_UNITARIO,'
      '  PRC_CUSTO,'
      '  ICM,'
      '  ICM_SUBS,'
      '  IPI,'
      '  VOLUME,'
      '  PESO,'
      '  DESCONTO,'
      '  PORC_DESC,'
      '  UNIDADE,'
      '  PRC_UNIT_ORIGINAL,'
      '  NOME_PRODUTO,'
      '  SUBUNIDADE,'
      '  MARCA,'
      '  QUANTIDADE_2,'
      '  MARCA_2,'
      '  PRC_UNITARIO_2,'
      '  EXTERNO,'
      '  NOME_MASCARA,'
      '  GRUPO_MASCARA,'
      '  SUB_GRUPO_MASCARA,'
      '  MASCARA,'
      '  QTDE_FATURADA,'
      '  COMPLEMENTO,'
      '  GRADE,'
      '  NUMERO'
      'from FAT_ORCAMENTOS_ITENS '
      'where'
      '  CNPJ = :CNPJ and'
      '  CODIGO = :CODIGO and'
      '  PRODUTO = :PRODUTO and'
      '  SEQUENCIA = :SEQUENCIA')
    SelectSQL.Strings = (
      'select  CNPJ, '
      '           QTDE_FATURADA,'
      '           CODIGO, '
      '           DESCONTO, '
      '           ICM, '
      '           ICM_SUBS, '
      '           IPI, '
      '           NOME_PRODUTO, '
      '           PESO, '
      '           PORC_DESC, '
      '           PRC_CUSTO, '
      '           PRC_UNIT_ORIGINAL, '
      '           PRC_UNITARIO, '
      '           PRODUTO, '
      '           QUANTIDADE, '
      '           SEQUENCIA, '
      '           UNIDADE, '
      '           VOLUME,'
      '           SUBUNIDADE,'
      '           MARCA,'
      '           PRC_UNITARIO_2,'
      '           MARCA_2,'
      '           EXTERNO ,'
      '           NOME_MASCARA,'
      '           GRUPO_MASCARA,'
      '           SUB_GRUPO_MASCARA           ,'
      '           MASCARA,'
      '           COMPLEMENTO,'
      '           GRADE,'
      '           NUMERO'
      'from FAT_ORCAMENTOS_ITENS'
      'WHERE CNPJ = :CNPJ AND CODIGO = :CODIGO')
    ModifySQL.Strings = (
      'update FAT_ORCAMENTOS_ITENS'
      'set'
      '  CNPJ = :CNPJ,'
      '  CODIGO = :CODIGO,'
      '  DESCONTO = :DESCONTO,'
      '  ICM = :ICM,'
      '  ICM_SUBS = :ICM_SUBS,'
      '  IPI = :IPI,'
      '  NOME_PRODUTO = :NOME_PRODUTO,'
      '  PESO = :PESO,'
      '  PORC_DESC = :PORC_DESC,'
      '  PRC_CUSTO = :PRC_CUSTO,'
      '  PRC_UNIT_ORIGINAL = :PRC_UNIT_ORIGINAL,'
      '  PRC_UNITARIO = :PRC_UNITARIO,'
      '  PRODUTO = :PRODUTO,'
      '  QUANTIDADE = :QUANTIDADE,'
      '  SEQUENCIA = :SEQUENCIA,'
      '  UNIDADE = :UNIDADE,'
      '  VOLUME = :VOLUME,'
      '  SUBUNIDADE = :SUBUNIDADE,'
      '  MARCA = :MARCA,'
      '  PRC_UNITARIO_2 = :PRC_UNITARIO_2,'
      '  MARCA_2 = :MARCA_2,'
      '  EXTERNO = :EXTERNO,'
      '  NOME_MASCARA = :NOME_MASCARA,'
      '  GRUPO_MASCARA = :GRUPO_MASCARA,'
      '  SUB_GRUPO_MASCARA = :SUB_GRUPO_MASCARA,'
      '  MASCARA = :MASCARA,'
      '  COMPLEMENTO = :COMPLEMENTO,'
      '  GRADE = :GRADE,'
      '  NUMERO = :NUMERO'
      'where'
      '  CNPJ = :OLD_CNPJ and'
      '  CODIGO = :OLD_CODIGO and'
      '  PRODUTO = :OLD_PRODUTO and'
      '  SEQUENCIA = :OLD_SEQUENCIA')
    DataSource = DataSource
    Left = 536
    Top = 8
    object Orcamentos_ItensCNPJ: TIBStringField
      FieldName = 'CNPJ'
      Origin = '"FAT_VENDAS_ITENS"."CNPJ"'
      Required = True
      FixedChar = True
      Size = 14
    end
    object Orcamentos_ItensCODIGO: TIntegerField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'CODIGO'
      Origin = '"FAT_VENDAS_ITENS"."CODIGO"'
      Required = True
    end
    object Orcamentos_ItensPRODUTO: TIBStringField
      DisplayLabel = 'Produto'
      DisplayWidth = 15
      FieldName = 'PRODUTO'
      Origin = '"FAT_VENDAS_ITENS"."PRODUTO"'
      Required = True
      OnSetText = Orcamentos_ItensPRODUTOSetText
      OnValidate = Orcamentos_ItensPRODUTOValidate
      Size = 15
    end
    object Orcamentos_ItensSEQUENCIA: TSmallintField
      DisplayLabel = 'Seq'
      FieldName = 'SEQUENCIA'
      Origin = '"FAT_VENDAS_ITENS"."SEQUENCIA"'
      Required = True
    end
    object Orcamentos_ItensQUANTIDADE: TFloatField
      DisplayLabel = 'Qntde'
      FieldName = 'QUANTIDADE'
      Origin = '"FAT_VENDAS_ITENS"."QUANTIDADE"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensPRC_UNITARIO: TFloatField
      DisplayLabel = 'Unit'#225'rio'
      FieldName = 'PRC_UNITARIO'
      Origin = '"FAT_VENDAS_ITENS"."PRC_UNITARIO"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensPRC_CUSTO: TFloatField
      DisplayLabel = 'Custo'
      FieldName = 'PRC_CUSTO'
      Origin = '"FAT_VENDAS_ITENS"."PRC_CUSTO"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensICM: TFloatField
      DisplayLabel = 'Icm'
      FieldName = 'ICM'
      Origin = '"FAT_VENDAS_ITENS"."ICM"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensICM_SUBS: TFloatField
      DisplayLabel = 'Subst'
      FieldName = 'ICM_SUBS'
      Origin = '"FAT_VENDAS_ITENS"."ICM_SUBS"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensIPI: TFloatField
      DisplayLabel = 'Ipi'
      FieldName = 'IPI'
      Origin = '"FAT_VENDAS_ITENS"."IPI"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensVOLUME: TFloatField
      DisplayLabel = 'Volume'
      FieldName = 'VOLUME'
      Origin = '"FAT_VENDAS_ITENS"."VOLUME"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensPESO: TFloatField
      DisplayLabel = 'Peso'
      FieldName = 'PESO'
      Origin = '"FAT_VENDAS_ITENS"."PESO"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensDESCONTO: TFloatField
      DisplayLabel = 'Desconto'
      FieldName = 'DESCONTO'
      Origin = '"FAT_VENDAS_ITENS"."DESCONTO"'
      OnValidate = Orcamentos_ItensDESCONTOValidate
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensPORC_DESC: TFloatField
      DisplayLabel = 'Porc. Desc'
      FieldName = 'PORC_DESC'
      Origin = '"FAT_VENDAS_ITENS"."PORC_DESC"'
      OnValidate = Orcamentos_ItensPORC_DESCValidate
      DisplayFormat = '% ###,###,##0.00'
    end
    object Orcamentos_ItensUNIDADE: TIBStringField
      DisplayLabel = 'Unidade'
      FieldName = 'UNIDADE'
      Origin = '"FAT_VENDAS_ITENS"."UNIDADE"'
      Required = True
      FixedChar = True
      Size = 4
    end
    object Orcamentos_ItensPRC_UNIT_ORIGINAL: TFloatField
      DisplayLabel = 'Unit. Orig'
      FieldName = 'PRC_UNIT_ORIGINAL'
      Origin = '"FAT_VENDAS_ITENS"."PRC_UNIT_ORIGINAL"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensTotal: TFloatField
      FieldKind = fkCalculated
      FieldName = 'Total'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object Orcamentos_ItensPeso_Total: TFloatField
      FieldKind = fkCalculated
      FieldName = 'Peso_Total'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object Orcamentos_ItensVolume_Total: TFloatField
      FieldKind = fkCalculated
      FieldName = 'Volume_Total'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object Orcamentos_ItensNOME_PRODUTO: TIBStringField
      DisplayLabel = 'Nome'
      FieldName = 'NOME_PRODUTO'
      Origin = '"FAT_ORCAMENTOS_ITENS"."NOME_PRODUTO"'
      Size = 50
    end
    object Orcamentos_ItensSUBUNIDADE: TIntegerField
      DisplayLabel = 'Sub. Unid.'
      FieldName = 'SUBUNIDADE'
      Origin = '"FAT_ORCAMENTOS_ITENS"."SUBUNIDADE"'
    end
    object Orcamentos_ItensMARCA: TIBStringField
      DisplayLabel = 'Marca'
      FieldName = 'MARCA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."MARCA"'
      Size = 30
    end
    object Orcamentos_ItensPRC_UNITARIO_2: TFloatField
      DisplayLabel = 'Unit'#225'rio'
      FieldName = 'PRC_UNITARIO_2'
      Origin = '"FAT_ORCAMENTOS_ITENS"."PRC_UNITARIO_2"'
      DisplayFormat = '###,###,##0.00'
    end
    object Orcamentos_ItensMARCA_2: TIBStringField
      DisplayLabel = 'Marca'
      FieldName = 'MARCA_2'
      Origin = '"FAT_ORCAMENTOS_ITENS"."MARCA_2"'
      Size = 30
    end
    object Orcamentos_ItensTotal2: TFloatField
      DisplayLabel = 'Total 2'
      FieldKind = fkCalculated
      FieldName = 'Total2'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object Orcamentos_ItensEXTERNO: TIBStringField
      DisplayLabel = 'Externo'
      FieldName = 'EXTERNO'
      Origin = '"FAT_ORCAMENTOS_ITENS"."EXTERNO"'
      FixedChar = True
      Size = 1
    end
    object Orcamentos_ItensNOME_MASCARA: TIBStringField
      DisplayLabel = 'Produto'
      FieldName = 'NOME_MASCARA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."NOME_MASCARA"'
      Size = 50
    end
    object Orcamentos_ItensGRUPO_MASCARA: TIntegerField
      DisplayLabel = 'Grupo'
      FieldName = 'GRUPO_MASCARA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."GRUPO_MASCARA"'
    end
    object Orcamentos_ItensSUB_GRUPO_MASCARA: TIntegerField
      DisplayLabel = 'Sub-Grupo'
      FieldName = 'SUB_GRUPO_MASCARA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."SUB_GRUPO_MASCARA"'
    end
    object Orcamentos_ItensMASCARA: TIntegerField
      DisplayLabel = 'Mascara'
      FieldName = 'MASCARA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."MASCARA"'
    end
    object Orcamentos_ItensQTDE_FATURADA: TFloatField
      DisplayLabel = 'Qtde. Faturada'
      FieldName = 'QTDE_FATURADA'
      Origin = '"FAT_ORCAMENTOS_ITENS"."QTDE_FATURADA"'
      DisplayFormat = '###,##0.00'
    end
    object Orcamentos_ItensSaldo: TFloatField
      FieldKind = fkCalculated
      FieldName = 'Saldo'
      DisplayFormat = '###,##0.00'
      Calculated = True
    end
    object Orcamentos_ItensGRADE: TIBStringField
      DisplayLabel = 'Grade'
      FieldName = 'GRADE'
      Origin = '"FAT_ORCAMENTOS_ITENS"."COMPLEMENTO"'
      OnValidate = Orcamentos_ItensGRADEValidate
      Size = 4
    end
    object Orcamentos_ItensNUMERO: TIBStringField
      DisplayLabel = 'N'#250'mero'
      FieldName = 'NUMERO'
      Origin = '"FAT_ORCAMENTOS_ITENS"."NUMERO"'
      OnValidate = Orcamentos_ItensNUMEROValidate
      Size = 6
    end
    object Orcamentos_ItensCOMPLEMENTO: TIBStringField
      DisplayLabel = 'Complemento'
      FieldName = 'COMPLEMENTO'
      Origin = '"FAT_ORCAMENTOS_ITENS"."COMPLEMENTO"'
      Size = 100
    end
  end
  object Orcamentos: TIBDataSet
    Database = DmApp.Database
    Transaction = DmApp.Transaction
    OnCalcFields = OrcamentosCalcFields
    OnNewRecord = OrcamentosNewRecord
    DeleteSQL.Strings = (
      'delete from FAT_ORCAMENTOS'
      'where'
      '  CNPJ = :OLD_CNPJ and'
      '  CODIGO = :OLD_CODIGO')
    InsertSQL.Strings = (
      'insert into FAT_ORCAMENTOS'
      
        '  (CLIENTE, CNPJ, CODIGO, COMPROMETER_ESTOQUE, DATA, DESC_ACRESC' +
        ', DESC_ACRESC_2, '
      
        '   EXTERNO, FORMA_PGTO, MASCARA, NOME, NOME_CONSUMIDOR, OBSERVAC' +
        'AO, PESSOA_FJ, '
      '   STATUS, TOTAL, TOTAL_2, USUARIO, VALIDADE, VENDEDOR)'
      'values'
      
        '  (:CLIENTE, :CNPJ, :CODIGO, :COMPROMETER_ESTOQUE, :DATA, :DESC_' +
        'ACRESC, '
      
        '   :DESC_ACRESC_2, :EXTERNO, :FORMA_PGTO, :MASCARA, :NOME, :NOME' +
        '_CONSUMIDOR, '
      
        '   :OBSERVACAO, :PESSOA_FJ, :STATUS, :TOTAL, :TOTAL_2, :USUARIO,' +
        ' :VALIDADE, '
      '   :VENDEDOR)')
    RefreshSQL.Strings = (
      'Select '
      '  CNPJ,'
      '  CODIGO,'
      '  DATA,'
      '  PESSOA_FJ,'
      '  USUARIO,'
      '  VENDEDOR,'
      '  FORMA_PGTO,'
      '  OBSERVACAO,'
      '  NOME_CONSUMIDOR,'
      '  TOTAL,'
      '  DESC_ACRESC,'
      '  PESO,'
      '  VOLUME,'
      '  NOME,'
      '  VALIDADE,'
      '  TOTAL_2,'
      '  DESC_ACRESC_2,'
      '  CLIENTE,'
      '  EXTERNO,'
      '  MASCARA,'
      '  COMPROMETER_ESTOQUE,'
      '  STATUS'
      'from FAT_ORCAMENTOS '
      'where'
      '  CNPJ = :CNPJ and'
      '  CODIGO = :CODIGO')
    SelectSQL.Strings = (
      'select '
      '      STATUS, '
      '      COMPROMETER_ESTOQUE,'
      '      CNPJ, '
      '      CODIGO, '
      '      DATA, '
      '      DESC_ACRESC, '
      '      DESC_ACRESC_2, '
      '      FORMA_PGTO, '
      '      NOME_CONSUMIDOR, '
      '      OBSERVACAO,       '
      '      PESSOA_FJ, '
      '      TOTAL, '
      '      USUARIO,       '
      '      VENDEDOR,'
      '      NOME,'
      '      VALIDADE,'
      '      TOTAL_2,'
      '      CLIENTE,'
      '      EXTERNO,'
      '      MASCARA'
      'from FAT_ORCAMENTOS'
      'Where CNPJ = :CNPJ AND CODIGO = :CODIGO'
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      '')
    ModifySQL.Strings = (
      'update FAT_ORCAMENTOS'
      'set'
      '  CLIENTE = :CLIENTE,'
      '  CNPJ = :CNPJ,'
      '  CODIGO = :CODIGO,'
      '  COMPROMETER_ESTOQUE = :COMPROMETER_ESTOQUE,'
      '  DATA = :DATA,'
      '  DESC_ACRESC = :DESC_ACRESC,'
      '  DESC_ACRESC_2 = :DESC_ACRESC_2,'
      '  EXTERNO = :EXTERNO,'
      '  FORMA_PGTO = :FORMA_PGTO,'
      '  MASCARA = :MASCARA,'
      '  NOME = :NOME,'
      '  NOME_CONSUMIDOR = :NOME_CONSUMIDOR,'
      '  OBSERVACAO = :OBSERVACAO,'
      '  PESSOA_FJ = :PESSOA_FJ,'
      '  STATUS = :STATUS,'
      '  TOTAL = :TOTAL,'
      '  TOTAL_2 = :TOTAL_2,'
      '  USUARIO = :USUARIO,'
      '  VALIDADE = :VALIDADE,'
      '  VENDEDOR = :VENDEDOR'
      'where'
      '  CNPJ = :OLD_CNPJ and'
      '  CODIGO = :OLD_CODIGO')
    GeneratorField.Field = 'CODIGO'
    GeneratorField.Generator = 'FAT_ORCAMENTOS_GE'
    GeneratorField.ApplyEvent = gamOnPost
    Left = 480
    Top = 8
    object OrcamentosCNPJ: TIBStringField
      DisplayLabel = 'Cnpj'
      FieldName = 'CNPJ'
      Origin = '"FAT_ORCAMENTOS"."CNPJ"'
      Required = True
      FixedChar = True
      Size = 14
    end
    object OrcamentosCODIGO: TIntegerField
      DisplayLabel = 'C'#243'digo'
      FieldName = 'CODIGO'
      Origin = '"FAT_ORCAMENTOS"."CODIGO"'
      Required = True
    end
    object OrcamentosDATA: TDateTimeField
      DisplayLabel = 'Data'
      FieldName = 'DATA'
      Origin = '"FAT_ORCAMENTOS"."DATA"'
    end
    object OrcamentosFORMA_PGTO: TIntegerField
      DisplayLabel = 'Forma Pagto'
      FieldName = 'FORMA_PGTO'
      Origin = '"FAT_ORCAMENTOS"."FORMA_PGTO"'
      OnValidate = OrcamentosFORMA_PGTOValidate
    end
    object OrcamentosNOME_CONSUMIDOR: TIBStringField
      DisplayLabel = 'Consumidor'
      FieldName = 'NOME_CONSUMIDOR'
      Origin = '"FAT_ORCAMENTOS"."NOME_CONSUMIDOR"'
      Size = 50
    end
    object OrcamentosOBSERVACAO: TIBStringField
      DisplayLabel = 'Obs'
      FieldName = 'OBSERVACAO'
      Origin = '"FAT_ORCAMENTOS"."OBSERVACAO"'
      Size = 80
    end
    object OrcamentosPESSOA_FJ: TIntegerField
      DisplayLabel = 'Cliente'
      FieldName = 'PESSOA_FJ'
      Origin = '"FAT_ORCAMENTOS"."PESSOA_FJ"'
      Required = True
      OnValidate = OrcamentosPESSOA_FJValidate
    end
    object OrcamentosUSUARIO: TIntegerField
      DisplayLabel = 'Usu'#225'rio'
      FieldName = 'USUARIO'
      Origin = '"FAT_ORCAMENTOS"."USUARIO"'
      Required = True
    end
    object OrcamentosVENDEDOR: TIntegerField
      DisplayLabel = 'Vendedor'
      FieldName = 'VENDEDOR'
      Origin = '"FAT_ORCAMENTOS"."VENDEDOR"'
      Required = True
      OnValidate = OrcamentosVENDEDORValidate
    end
    object OrcamentosDESC_ACRESC: TFloatField
      DisplayLabel = 'Desc/Acresc'
      FieldName = 'DESC_ACRESC'
      Origin = '"FAT_ORCAMENTOS"."DESC_ACRESC"'
      DisplayFormat = '###,###,##0.00'
    end
    object OrcamentosTOTAL: TFloatField
      DisplayLabel = 'Total'
      FieldName = 'TOTAL'
      Origin = '"FAT_ORCAMENTOS"."TOTAL"'
      DisplayFormat = '###,###,##0.00'
    end
    object OrcamentosGERAL: TFloatField
      FieldKind = fkCalculated
      FieldName = 'GERAL'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object OrcamentosNOME: TIBStringField
      DisplayLabel = 'Nome'
      FieldName = 'NOME'
      Origin = '"FAT_ORCAMENTOS"."NOME"'
      Size = 50
    end
    object OrcamentosVALIDADE: TDateTimeField
      DisplayLabel = 'Validade'
      FieldName = 'VALIDADE'
      Origin = '"FAT_ORCAMENTOS"."VALIDADE"'
    end
    object OrcamentosTOTAL_2: TFloatField
      DisplayLabel = 'Total 2'
      FieldName = 'TOTAL_2'
      Origin = '"FAT_ORCAMENTOS"."TOTAL_2"'
      DisplayFormat = '###,###,##0.00'
    end
    object OrcamentosGeral2: TFloatField
      FieldKind = fkCalculated
      FieldName = 'Geral2'
      DisplayFormat = '###,###,##0.00'
      Calculated = True
    end
    object OrcamentosCLIENTE: TIBStringField
      DisplayLabel = 'Cliente'
      FieldName = 'CLIENTE'
      Origin = '"FAT_ORCAMENTOS"."CLIENTE"'
      Size = 30
    end
    object OrcamentosDESC_ACRESC_2: TFloatField
      DisplayLabel = 'Desconto 2'
      FieldName = 'DESC_ACRESC_2'
      Origin = '"FAT_ORCAMENTOS"."DESC_ACRESC_2"'
      DisplayFormat = '###,###,##0.00'
    end
    object OrcamentosEXTERNO: TIBStringField
      DisplayLabel = 'Externo'
      FieldName = 'EXTERNO'
      Origin = '"FAT_ORCAMENTOS"."EXTERNO"'
      FixedChar = True
      Size = 1
    end
    object OrcamentosMASCARA: TIntegerField
      FieldName = 'MASCARA'
      Origin = '"FAT_ORCAMENTOS"."MASCARA"'
    end
    object OrcamentosCOMPROMETER_ESTOQUE: TIBStringField
      FieldName = 'COMPROMETER_ESTOQUE'
      Origin = '"FAT_ORCAMENTOS"."COMPROMETER_ESTOQUE"'
      FixedChar = True
      Size = 1
    end
    object OrcamentosSTATUS: TIntegerField
      DisplayLabel = 'Status'
      FieldName = 'STATUS'
      Origin = '"FAT_ORCAMENTOS"."STATUS"'
      OnGetText = OrcamentosSTATUSGetText
      OnSetText = OrcamentosSTATUSSetText
    end
  end
end
